package com.chengqs.rainbow.common.security.token.properties;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * <B>主类名称：</B>Oauth2Properties<BR>
 * <B>概要说明：</B>enter<BR>
 *
 * @author: chengqs
 * @create: 2025-09-06 23:34:23
 **/
@Data
@Component
@ConfigurationProperties(prefix = Oauth2Properties.PREFIX)
public class Oauth2Properties {

    public static final String PREFIX = "security.oauth2";

    private List<OAuth2ClientProperties> clients;

    /**
     * redis,jwt
     */
    private String tokenStore = "jwt";

    private String keyPair;

    private String publicKey;

    private String alias = "jwt";

    private String keypass = "";

    private String storepass = "";
}

